projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a5b802
)
i.MX28: Lower the amount of blocks transfered in one DMA cycle
author
Marek Vasut
<
[email protected]
>
Sun, 8 Apr 2012 18:50:18 +0000
(18:50 +0000)
committer
Andy Fleming
<
[email protected]
>
Tue, 8 May 2012 23:02:22 +0000
(18:02 -0500)
Some MMC cards, like my ancient 32.0MB SanDisk RS-MMC cards had issue if b_max
was set to 0x40 and DMA was enabled. Lower this value to 0x20, which allows
these cards to work too.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
Cc: Wolfgang Denk <
[email protected]
>
Cc: Detlev Zundel <
[email protected]
>
Cc: Fabio Estevam <
[email protected]
>
drivers/mmc/mxsmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/mxsmmc.c
b/drivers/mmc/mxsmmc.c
index 35c6bdabb06d4b71e8cf46263aa22c2cbf0301ec..6572e9551bafd827edcc0fcb02dbf6904bfb3f21 100644
(file)
--- a/
drivers/mmc/mxsmmc.c
+++ b/
drivers/mmc/mxsmmc.c
@@
-406,7
+406,7
@@
int mxsmmc_initialize(bd_t *bis, int id, int (*wp)(int))
*/
mmc->f_min = 400000;
mmc->f_max = mxc_get_clock(MXC_SSP0_CLK + id) * 1000 / 2;
- mmc->b_max = 0x
4
0;
+ mmc->b_max = 0x
2
0;
mmc_register(mmc);
return 0;